package com.example.backetballgame.store;

public class GoodPriceUtil {

    private final static int baseStrengthPrice = 2; // 假设每点力量的基础价值为5
    private final static int baseDefensePrice = 3; // 假设每点防御的基础价值为6
    private final static int baseSkillPrice = 20; // 假设每个技能的基础价值为30

    public static int calculatePlayerPrice(int strength,int defense,int skills){
        return  (strength * baseStrengthPrice + defense * baseDefensePrice + skills * baseSkillPrice);
    }
}
